package com.ruoyi.buss.grid.cj.service;

import java.util.List;

import com.ruoyi.buss.active.domain.DataKhhdImport;
import com.ruoyi.buss.customer.domain.DataCustomerRecord;
import com.ruoyi.buss.customer.domain.DataWgJtcy;
import com.ruoyi.buss.grid.cj.domain.DataWgWgcj;
import com.ruoyi.buss.grid.cj.domain.DataWgWgcjHjbh;
import com.ruoyi.buss.grid.cj.domain.DataWgWgcjVillage;
import com.ruoyi.buss.task.domain.UserTaskRelationDO;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.system.api.model.LoginUser;

/**
 * 网格村居Service接口
 * 
 * @author sxy
 * @date 2021-07-16
 */
public interface IDataWgWgcjService 
{
    /**
     * 查询网格村居
     * 
     * @param id 网格村居ID
     * @return 网格村居
     */
    public DataWgWgcj selectDataWgWgcjById(String id);

    /**
     * 查询网格村居列表
     * 
     * @param dataWgWgcj 网格村居
     * @return 网格村居集合
     */
    public List<DataWgWgcj> selectDataWgWgcjList(DataWgWgcj dataWgWgcj);

    /**
     * 新增网格村居
     * 
     * @param dataWgWgcj 网格村居
     * @return 结果
     */
    public int insertDataWgWgcj(DataWgWgcj dataWgWgcj);

    /**
     * 修改网格村居
     * 
     * @param dataWgWgcj 网格村居
     * @return 结果
     */
    public int updateDataWgWgcj(DataWgWgcj dataWgWgcj);

    /**
     * 批量删除网格村居
     * 
     * @param ids 需要删除的网格村居ID
     * @return 结果
     */
    public int deleteDataWgWgcjByIds(String[] ids);

    /**
     * 删除网格村居信息
     * 
     * @param id 网格村居ID
     * @return 结果
     */
    public int deleteDataWgWgcjById(String id);
    
    public String ifCheck(String Check);
    
    public  List<DataWgWgcjVillage> queryGridCJList(DataWgWgcjVillage condition, LoginUser userInfo,String ifCheck);
    
    public List<DataWgWgcj> selectTownOrVillage(DataWgWgcj vo,LoginUser userInfo);
    
    public DataWgWgcjVillage getGridSurvey(DataWgWgcjVillage dataWgWgcjVillage, LoginUser userInfo,String ifCheck);

    public List<DataWgWgcjHjbh> villageList(DataWgWgcjHjbh condition);
    
    public DataWgWgcjHjbh getGridFamilySurvey(DataWgWgcjHjbh condition);
    
    public List<DataWgWgcj> gridFamilyList(DataWgWgcj dataWgWgcj);
    
    public List<DataWgWgcj> gridPeasant(DataWgWgcj dataWgWgcj, LoginUser userInfo,String ifCheck);
    
    
    public AjaxResult editWgcjOrg(DataWgWgcj vo, LoginUser userInfo);
    
    public AjaxResult delWgcj(DataWgWgcj vo, LoginUser userInfo);
    
    public AjaxResult editFamilyMember(DataWgJtcy vo);
    
    public AjaxResult delFamilyMember(DataWgJtcy vo);
    
    public AjaxResult cjTask(DataWgWgcj dataWgWgcj, LoginUser userInfo);
    
    public List<DataCustomerRecord> queryWgBg(DataCustomerRecord dataCustomerRecord,  LoginUser userInfo) ;
    
    public List<DataKhhdImport> showKhhoInfo(DataKhhdImport dataKhhdImport,  LoginUser userInfo);
    
    public AjaxResult convert(UserTaskRelationDO vo,  LoginUser userInfo);
    
    public List<DataWgWgcj> wgcjAppBiYear(LoginUser userInfo);
    
    public List<DataWgWgcj> wgcjAppBiJd(LoginUser userInfo);
    
    public List<DataWgWgcj> wgcjAppBiMonth(LoginUser userInfo);

    int addFamilyMember(DataWgJtcy vo, LoginUser userInfo);
}
